package com.kezesong.leasing.common;

import com.kezesong.leasing.common.enums.ReturnCodeEnum;

import java.io.Serializable;

public class ResponseResult <T> implements Serializable {
    private static final long serialVersionUID = 1L;
    private String returnCode = ReturnCodeEnum.SUCCESS.getCode();
    private String returnMsg = ReturnCodeEnum.SUCCESS.getDesc();

    private  T data;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(String returnCode) {
        this.returnCode = returnCode;
    }

    public String getReturnMsg() {
        return returnMsg;
    }

    public void setReturnMsg(String returnMsg) {
        this.returnMsg = returnMsg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
